using System;
using llano.data;

namespace ZP.Data
{

    [Table(DbTag = "default", Name = "ZP_User")]
    public class TUser : Entity<string>
	{

		private string _Level;
		private string _RoleID;
		private int _LoginCount;
		private string _Logo;
		private string _CompanyID;
		private DateTime _LoginDate;
		private string _Password;
		private string _Email;
		private string _Question;
		private string _UserName;
		private string _Answer;


		[Column(Name = "Level", DbType = "nvarchar(5)")]
		public string Level
		{
			get { return _Level; }
			set { _Level = value; }
		}
		[Column(Name = "RoleID", DbType = "nvarchar(45)")]
		public string RoleID
		{
			get { return _RoleID; }
			set { _RoleID = value; }
		}
		public int LoginCount
		{
			get { return _LoginCount; }
			set { _LoginCount = value; }
		}
		[Column(Name = "Logo", DbType = "nvarchar(50)")]
		public string Logo
		{
			get { return _Logo; }
			set { _Logo = value; }
		}
		[Column(Name = "CompanyID", DbType = "nvarchar(45)")]
		public string CompanyID
		{
			get { return _CompanyID; }
			set { _CompanyID = value; }
		}
		public DateTime LoginDate
		{
			get { return _LoginDate; }
			set { _LoginDate = value; }
		}
		[Column(Name = "Password", DbType = "nvarchar(20)")]
		public string Password
		{
			get { return _Password; }
			set { _Password = value; }
		}
		[Column(Name = "Email", DbType = "nvarchar(20)")]
		public string Email
		{
			get { return _Email; }
			set { _Email = value; }
		}
		[Column(Name = "Question", DbType = "nvarchar(20)")]
		public string Question
		{
			get { return _Question; }
			set { _Question = value; }
		}
		[Column(Name = "UserName", DbType = "nvarchar(10)")]
		public string UserName
		{
			get { return _UserName; }
			set { _UserName = value; }
		}
		[Column(Name = "Answer", DbType = "nvarchar(20)")]
		public string Answer
		{
			get { return _Answer; }
			set { _Answer = value; }
		}

	}
}